#include <QCoreApplication>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    double b,c,d;
    cin>>b;
    cin>>c;
    cin>>d;
    if ((b<c)&& (c<d))
    {
        b=2*b;
        c=2*c;
        d=2*d;
    }
    else
    {
        b=-b;
        c=-c;
        d=-d;
    }
    cout<<b<<'\n'<<c<<'\n'<<d;

    return a.exec();
}
